package com.apex.security.api.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-4-7
 * 刷新用户token，
 * 删除用户token
 */
public interface MessageApproveRestfulService {

    @GetMapping("/rest/api/messageApprove/entity")
    String getEntity(@RequestParam("messageId")Integer messageId);

    @GetMapping("/rest/api/messageApprove/user")
    String getByUserId(@RequestParam("userId")String userId,@RequestParam("current")Integer current,
                       @RequestParam("rows")Integer rows,
                       @RequestParam(name = "title",required = false,defaultValue ="null")String title );

}
